const fs = require('fs')

let readStream = fs.createReadStream('./node.md')
let writeStream = fs.createWriteStream('./new.md')
// readStream.on('data', (data) => {
//   console.log(data.toString())
//   writeStream.write(data.toString())
// })

// readStream.on('end', () => {
//   console.log('end')
// })

readStream.pipe(writeStream)


